[INFO] cloning repository https://github.com/leofaraf/exdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leofaraf/exdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleofaraf%2Fexdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleofaraf%2Fexdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba6714490836ce781a25b44f34751c41a45cadbc
[INFO] fixing leofaraf/exdb against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleofaraf%2Fexdb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/leofaraf/exdb
[INFO] finished tweaking git repo https://github.com/leofaraf/exdb
[INFO] tweaked toml for git repo https://github.com/leofaraf/exdb written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leofaraf/exdb on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leofaraf/exdb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bson v2.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3
[INFO] running `Command { std: "docker" "start" "8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking norse v0.0.1 (/opt/rustwide/workdir/norse)
[INFO] [stderr]    Compiling time-macros v0.2.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking new v0.1.0 (/opt/rustwide/workdir/new)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> new/src/main.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{error::Error, fs::{File, OpenOptions}, os::windows::fs::MetadataExt};
[INFO] [stdout]   |                                                      ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RawDocument`
[INFO] [stdout]  --> new/src/main.rs:6:62
[INFO] [stdout]   |
[INFO] [stdout] 6 | use documents::{find::find_last_offset, Document, Documents, RawDocument};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memmap2::MmapMut`
[INFO] [stdout]  --> new/src/header/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use memmap2::MmapMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]   --> new/src/main.rs:26:47
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let lenght = file.metadata().unwrap().file_size();
[INFO] [stdout]    |                                               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 26 -         let lenght = file.metadata().unwrap().file_size();
[INFO] [stdout] 26 +         let lenght = file.metadata().unwrap().file_type();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> new/src/main.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{error::Error, fs::{File, OpenOptions}, os::windows::fs::MetadataExt};
[INFO] [stdout]   |                                                      ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RawDocument`
[INFO] [stdout]  --> new/src/main.rs:6:62
[INFO] [stdout]   |
[INFO] [stdout] 6 | use documents::{find::find_last_offset, Document, Documents, RawDocument};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `memmap2::MmapMut`
[INFO] [stdout]  --> new/src/header/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use memmap2::MmapMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> new/src/main.rs:82:37
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn remove_collection(&mut self, name: String) {}
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `con`
[INFO] [stdout]   --> new/src/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let con = get_connection(&mut db);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_con`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `new` (bin "new" test) due to 2 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `file_size` found for struct `Metadata` in the current scope
[INFO] [stdout]   --> new/src/main.rs:26:47
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let lenght = file.metadata().unwrap().file_size();
[INFO] [stdout]    |                                               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `file_type` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 26 -         let lenght = file.metadata().unwrap().file_size();
[INFO] [stdout] 26 +         let lenght = file.metadata().unwrap().file_type();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> new/src/main.rs:82:37
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn remove_collection(&mut self, name: String) {}
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `con`
[INFO] [stdout]   --> new/src/main.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let con = get_connection(&mut db);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_con`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `new` (bin "new") due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3", kill_on_drop: false }`
[INFO] [stdout] 8336551645f978d39c6e5d71804f353eed11eb876053671bc2c336eea343f4a3
